﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_page.Master" AutoEventWireup="true" CodeBehind="Asset-List.aspx.cs" Inherits="SmartSpace.WebApp.Modules.OA.Pages.Asset_List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentTitle" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentBody" runat="server">
    <table style="width: 100%">
        <tr>
            <td style="width: 300px; vertical-align: top">
                <div class="ss-box">
                    <h1>目录列表
                    </h1>
                    <div class="ss-tbar">
                    </div>
                    <div class="ss-box-content">
                        <asp:TreeView ID="Asset_Tree" runat="server"></asp:TreeView>
                    </div>
                </div>
            </td>
            <td style="vertical-align: top">
                <div class="ss-box">
                    <div class="ss-tbar">
                        <asp:HyperLink ID="AddAsset" runat="server" Text="添加"></asp:HyperLink>
                    </div>
                    <table class="ss-list" cellspacing="0" cellpadding="0" style="width: 100%;">
                        <tr>
                            <th>Id</th>
                            <th>Code</th>
                            <th>Caption</th>
                            <th>Description</th>
                            <th>Creator</th>
                            <th>CreatedDate</th>
                            <th>操作</th>
                        </tr>
                        <asp:Repeater ID="rep1" runat="server" OnItemCommand="rep1_ItemCommand">
                            <ItemTemplate>
                                <tr>
                                    <td><%# Eval("Id") %></a></td>
                                    <td><%# Eval("Code") %></td>
                                    <td><%# Eval("Caption") %></td>
                                    <td><%# Eval("OrgId") %></a></td>
                                    <td><%# Eval("Creator") %></td>
                                    <td><%# Eval("CreatedDate") %></td>
                                    <td>
                                        <a href="Asset-List.aspx?id=<%# Eval("Id") %>&orgId=<%= Request.QueryString["orgId"] %>">编辑</a>
                                        <asp:LinkButton CommandName="Delete" runat="server" CommandArgument='<%# Eval("Id") %>' Text="删除" />
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
